package com.ssyt.yt1.day6.staticdemo;

public class StaticDemo3 {

	public static int luckyNumber = 24;

	/**
	 * 静态方法不能访问一个非静态的方法或属性！
	 */
	public static void print() {
		System.out.println(luckyNumber);
	}

	public static void main(String[] args) {
	}
}
